package com.example.domain;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Data
@Component
public class User {
    private Long id;
    //JAVA 属性名/变量名命名风格应遵循 小驼峰 ，userName
    private String userCode;
    private String username;
    private String password;
    private Integer gender;
    private Date birthday;
    private String phone;
    private String address;
    private Integer userRole;
    private Integer delFlag;
    private Date gmtCreate;
    //提供getter/setter、toString 等方法
}
